package com.moyoutian.utils;

public class NumberUtil {

    public static int getAvgInt(int a, int b) {
        return a + (b - a) / 2;
    }

    public static double getAvgDouble(int a, int b) {
        return a + (b - a) / 2.0;
    }
}
